# -*- coding: utf-8 -*-
# Common component
"""Common component

NOTICE: This program is used for learning, there may have bugs
and potential security issues. Please DO NOT use this program
in production environment.
"""

__author__ = 'Kainan Zhu'
__email__ = 'dlangu0393@gmail.com'
__copyright__ = 'Copyright 2013, Kainan Zhu'


class CryptoException(Exception):
    """Base class for all crypto exception"""


class DecryptionException(CryptoException):
    """Class for decryption exception"""


class VerificationException(CryptoException):
    """Class for verification exception"""

__all__ = ['CryptoException', 'DecryptionException', 'VerificationException']